EditSerialNoRecord

SoftwareShield CheckPoint™ License Server > CheckPoint™ License Server Interfaces > CheckPoint_Webservice_References > EditSerialNoRecord

## EditSerialNoRecord

The EditSerialNoRecord function will edit and update a license record.

###### Syntax

TRecordResponse * EditSerialNoRecord( TCheckPointSNSerialRecord * ASerialNoRecord, BSTR ASessionID ) ;

###### Parameters

ASerialNoRecord

[IN] This is a TCheckPointSNSerialRecord class which contains information on editing and updating a serial number entry. The fields of interest are:

- SNSerialsID- The Serial Number ID that will be affected with the update.

- CheckPointUserID - the user id of the Checkpoint User who generated the serial number. Note that this is the CheckPoint User, not the End User.

- LicenseID - The license ID that is associated with this Serial Number

- SerialNumber - The Serial Number that was generated.

- AuthDefIDNo - the Authorization Definition ID that is associated to this Serial Number

- AuthParameter - If a parameter is necessary for the Authorization Definition, then you would declare it in this field.

- TotalActivationsPermitted - the number of permitted activations allowed for the serial number

- OverflowActivationsPermitted - the number of overflows allowed for the serial number

- ActivationsConsumed - the number of activations consumed (Under regular circumstances, this should be 0)

- OrderNo- the order number that you wish to associate with this Serial Number

- Deleted- the email address of the new user.

ASessionID

[IN] This is the session ID of the logged in user.

###### Remarks

SNSerialsID is used only to determine which Serial Number record are to be updated. The SNSerialsID will not be changed by this function.

Also note that no fields should be blank unless it is intentional. The associated database field will be overwritten and updated to blank.

Example: if you leave your OrderNo blank, then the new OrderNo may be blank instead of it's previous value.

Only administrators are allowed to use this function.

###### Return Value

Returns the custom class TRecordResponse. The fields of interest that is related to this method are:

- Success- True will be returned if this function was successful, otherwise false will be returned.

- ErrorMessage- if an error occurred, the associated error message can be found in this field.

###### Function Information

Exposed By Interface: | "ICheckPointService"
Exposed In ISAPI DLL: | "checkpoint.dll"